package org.bookie.framework.mails;

import org.apache.tapestry.IRequestCycle;


public abstract class Password extends CommonMailPage {
	/**
	 * {@inheritDoc}
	 */
	public void activateExternalPage(Object[] parameters, IRequestCycle cycle) {
		super.activateExternalPage(parameters, cycle);
		setUsername((String) parameters[0]); 
		setPassword((String) parameters[1]);
	}
	
	/**Returns username of the recipient*/
	public abstract String getUsername();
	/**
	 * Set username of the recipient
	 * @param username username to set
	 */
	public abstract void setUsername(String username);
	
	/**Returns password of the recipient*/
	public abstract String getPassword();
	/**
	 * Set password of the recipient
	 * @param password password to set
	 */
	public abstract void setPassword(String password);
}
